package com.bwie.common.exception;

import lombok.Data;

@Data
public class BizException extends RuntimeException{
    //状态码
    private Integer code;
    //消息提示
    private String msg;

    public BizException(String msg) {
        this.msg = msg;
    }

    public BizException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
